home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Online / OpenURL / Developer / Source / prefs_prefswin.h < prev    next >
C/C++ Source or Header  |  1999-09-26  |  1KB  |  48 lines

  1. /*
  2. ** OpenURL - MUI preferences for openurl.library
  3. ** Written by Troels Walsted Hansen <troels@thule.no>
  4. ** Placed in the public domain.
  5. **
  6. ** Methods, attributes, dispatcher and instance data definitions for the
  7. ** PrefsWin Window.mui subclass.
  8. */
  9.  
  10. /**************************************************************************/
  11.  
  12. #define MUIM_PrefsWin_GetPrefs               (TAGBASE_PREFSWIN + 25)
  13. #define MUIM_PrefsWin_StorePrefs             (TAGBASE_PREFSWIN + 26)
  14. #define MUIM_PrefsWin_About                  (TAGBASE_PREFSWIN + 27)
  15.  
  16. struct MUIP_PrefsWin_GetPrefs                { ULONG MethodID; ULONG Defaults; };
  17. struct MUIP_PrefsWin_StorePrefs              { ULONG MethodID; ULONG How; };
  18. struct MUIP_PrefsWin_About                   { ULONG MethodID; };
  19.  
  20. #define MUIV_PrefsWin_StorePrefs_Save 0
  21. #define MUIV_PrefsWin_StorePrefs_Use  1
  22.  
  23. /**************************************************************************/
  24.  
  25. SAVEDS ASM ULONG PrefsWin_Dispatcher(REG(a0) struct IClass *cl, REG(a2) Object *obj, REG(a1) Msg msg);
  26.  
  27. /**************************************************************************/
  28.  
  29. struct PrefsWin_Data
  30. {
  31.     Object *RegisterGrpObj;
  32.     Object *BrowserLstObj;
  33.     Object *MailerLstObj;
  34.  
  35.     Object *PreHTTPChkObj;
  36.     Object *MailtoChkObj;
  37.     Object *ShowChkObj;
  38.     Object *BringToFrontChkObj;
  39.     Object *NewWindowChkObj;
  40.     Object *LaunchChkObj;
  41.  
  42.     Object *SaveButObj;
  43.     Object *UseButObj;
  44.     Object *CancelButObj;
  45.  
  46.     ULONG   NotifiesAdded;
  47. };
  48.